package com.szly.phm;

import com.github.yulichang.injector.MPJSqlInjector;
import org.apache.ibatis.annotations.Mapper;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.boot.autoconfigure.mongo.MongoAutoConfiguration;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.scheduling.annotation.EnableScheduling;

@SpringBootApplication(exclude={MongoAutoConfiguration.class,DataSourceAutoConfiguration.class})
@MapperScan(basePackages = "com.szly.phm.common.mapper")
@EnableScheduling
public class PHMApplication {

    public static void main(String[] args) {
        SpringApplication.run(PHMApplication.class, args);
    }

}
